libxenlight: physmap slack for pv domains
authorKeir Fraser <keir.fraser@citrix.com>
Sat, 5 Dec 2009 12:30:46 +0000 (12:30 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Sat, 5 Dec 2009 12:30:46 +0000 (12:30 +0000)
commit1f29decb33b86e47d38fc2cf7d5ddd5869bb5fed
treeebaa869353f093045898be1e8a5121e1899ba1b5
parenta05bf36813ac52d0a3f1025aa1b38759a1bb239e
libxenlight: physmap slack for pv domains

Contemplate a memory space slack for PV domains,
since they do ballooning (or flipping network rx)
and need some extra room in their pfn space.

Note that this does not allocate any extra memory
to the domain, it simply extends the physmap with
some extra room for "bounce bufffering back" pfn's
that are yielded to dom0.

The default slack is set at 8MB.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.com>
Acked-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl_dom.c